import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { useUserAuthorizeInfo } from './utils/userAuthorizeInfo'
import '@/assets/css/tailwind.css'

hccms.init.auth(
  {
    deptid: DEPTID,
    activityid: ACTIVITYID,
    scenetype: SCENETYPE,
    title: TITLE,
    actiontype: 0
  },
  e => {
    useUserAuthorizeInfo(e)
    // if (hccms.win.logins.init({ waytype: 1 })) return false
    createApp(App)
      .use(store)
      .use(router)
      .mount('#app')
  }
)
